package org.abc;

public class Ex2 {

    public static void main(String[] args) {
        int a = 10;
        int b = 5;
        System.out.println(a + b);
        System.out.println(a - b);
        System.out.println(a * b);
        System.out.println(a / b);
        System.out.println(a % b); //

        byte aaa = 18;//1
        short sss = 18; //2
        int iii = 18;//4
        long lll = 18; //8

        float ff = (float)Math.PI;//4
        System.out.println(ff);
        double dd = Math.PI;//8
        System.out.println(dd);

        char c = 'a';
        char y = 65;
        System.out.println(c);//a
        System.out.println(y);//A 是65的ascii

        char c2 = '中';
        int c3 = c2;
        System.out.println(c2);
        System.out.println(c3);

        boolean f = true;
        System.out.println(f); //true
        System.out.println(!!!f);//false

        System.out.println(0b111);

    }
}
